// var express = require('express');
import express from 'express'
import ids from '../prototype/ids'
var router = express.Router();
router.post('/addImg/:type',new ids().upLoadImg)
import statis from '../controller/statis/statis'
// import Admin from "../controller/admin/admin";
/* GET users listing. */
router.get('/user/:data/count',statis.userCount)
router.get('/order/:data/count',statis.orderCount)
router.get('/admin/:data/count',statis.adminCount)
router.post('/addImg/:type',new ids().upLoadImg)
// // router.post('/',Admin.login);
export default router;
